<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>

<div id="app">
    <h2 v-if="isShow">
        <div>ddd</div>
        <div>ddd</div>
        <div>ddd</div>
        <div>ddd</div>
        <div>ddd</div>
        {{message}}
    </h2>
    <h1 v-else>
        isShow为false
    </h1>

    <h3 v-if="score >= 90">优秀</h3>
    <h3 v-else-if="score >= 80">良好</h3>
    <h3 v-else-if="score >=70">一般</h3>
    <h3 v-else-if="score >= 60">及格</h3>
    <h3 v-else>不及格</h3>
</div>

<script src="../js/vue.js"></script>
<script>
    const app = new Vue({
        el: '#app',
        data: {
            isShow: true,
            message: 'Hello Vue!',
            score: 98
        }
    })
</script>
</body>
</html>